package com.augurit.wf.common.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "JBPM4_HIST_TASK")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Jbpm4HistTask implements java.io.Serializable {
	
	// 属性
	@Id
    @Column(name = "DBID_")
	private Long histTaskInstDbid;
	
	@Column(name = "DBVERSION_")
	private Long dbversion;
	
	@Column(name = "EXECUTION_")
	private String execution;
	
	@Column(name = "OUTCOME_")
	private String outcome;
	
	@Column(name = "ASSIGNEE_")
	private String assignee;

	@Column(name = "PRIORITY_")
	private Long priority;
	
	@Column(name = "STATE_")
	private String state;

	@Column(name = "CREATE_")
	private Date create;
	
	@Column(name = "END_")
	private Date end;
	
	@Column(name = "DURATION_")
	private Long duration;
	
	@Column(name = "NEXTIDX_")
	private Long nextidx;
	
	@Column(name = "SUPERTASK_")
	private Long supertask;
	
	@Column(name = "SIGN_TIME")
	private Date signTime;
	
	@Column(name = "HANDLE_COMMENTS")
	private String handleComments;
	
	@Column(name = "IS_MAIN_TASK")
	private String isMainTask;
	
	@Column(name = "TASK_TYPE")
	private String taskType;
	
	@Column(name = "ASSIGNEE_NAME")
	private String assigneeName;
	
	@Column(name = "ACTIVITY_NAME")
	private String activityName;
	
	@Column(name = "AGENT")
	private String agent;
	
	@Column(name = "AGENT_NAME")
	private String agentName;
	
	@Column(name = "IS_AGENT_COMPLETED")
	private String isAgentCompleted;
	
	@Column(name = "HANDLE_COMMENTS_TIME")
	private Date handleCommentsTime;
	
	@Column(name = "PROCINST_")
	protected String procInstId;
	
	@Column(name = "DUEDATE")
	protected Date duedate;
	
	@Column(name = "ACTIVITY_CHINESE_NAME")
	private String activityChineseName;
	
	@Column(name = "AGENT_START_DATE")
	private Date agentStartDate;
	
	@Column(name = "AGENT_END_DATE")
	private Date agentEndDate;
	
	
	public Date getAgentStartDate() {
		return agentStartDate;
	}
	public void setAgentStartDate(Date agentStartDate) {
		this.agentStartDate = agentStartDate;
	}
	public Date getAgentEndDate() {
		return agentEndDate;
	}
	public void setAgentEndDate(Date agentEndDate) {
		this.agentEndDate = agentEndDate;
	}
	public Long getHistTaskInstDbid() {
		return histTaskInstDbid;
	}
	public void setHistTaskInstDbid(Long histTaskInstDbid) {
		this.histTaskInstDbid = histTaskInstDbid;
	}
	public Long getDbversion() {
		return dbversion;
	}
	public void setDbversion(Long dbversion) {
		this.dbversion = dbversion;
	}
	public String getExecution() {
		return execution;
	}
	public void setExecution(String execution) {
		this.execution = execution;
	}
	public String getOutcome() {
		return outcome;
	}
	public void setOutcome(String outcome) {
		this.outcome = outcome;
	}
	public String getAssignee() {
		return assignee;
	}
	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}
	public Long getPriority() {
		return priority;
	}
	public void setPriority(Long priority) {
		this.priority = priority;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Date getCreate() {
		return create;
	}
	public void setCreate(Date create) {
		this.create = create;
	}
	public Date getEnd() {
		return end;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public Long getDuration() {
		return duration;
	}
	public void setDuration(Long duration) {
		this.duration = duration;
	}
	public Long getNextidx() {
		return nextidx;
	}
	public void setNextidx(Long nextidx) {
		this.nextidx = nextidx;
	}
	public Long getSupertask() {
		return supertask;
	}
	public void setSupertask(Long supertask) {
		this.supertask = supertask;
	}
	public Date getSignTime() {
		return signTime;
	}
	public void setSignTime(Date signTime) {
		this.signTime = signTime;
	}
	public String getHandleComments() {
		return handleComments;
	}
	public void setHandleComments(String handleComments) {
		this.handleComments = handleComments;
	}
	public String getIsMainTask() {
		return isMainTask;
	}
	public void setIsMainTask(String isMainTask) {
		this.isMainTask = isMainTask;
	}
	public String getTaskType() {
		return taskType;
	}
	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}
	public String getAssigneeName() {
		return assigneeName;
	}
	public void setAssigneeName(String assigneeName) {
		this.assigneeName = assigneeName;
	}
	public String getActivityName() {
		return activityName;
	}
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}
	public String getAgent() {
		return agent;
	}
	public void setAgent(String agent) {
		this.agent = agent;
	}
	public String getAgentName() {
		return agentName;
	}
	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}
	public String getIsAgentCompleted() {
		return isAgentCompleted;
	}
	public void setIsAgentCompleted(String isAgentCompleted) {
		this.isAgentCompleted = isAgentCompleted;
	}
	public Date getHandleCommentsTime() {
		return handleCommentsTime;
	}
	public void setHandleCommentsTime(Date handleCommentsTime) {
		this.handleCommentsTime = handleCommentsTime;
	}
	public String getProcInstId() {
		return procInstId;
	}
	public void setProcInstId(String procInstId) {
		this.procInstId = procInstId;
	}
	public Date getDuedate() {
		return duedate;
	}
	public void setDuedate(Date duedate) {
		this.duedate = duedate;
	}
	public String getActivityChineseName() {
		return activityChineseName;
	}
	public void setActivityChineseName(String activityChineseName) {
		this.activityChineseName = activityChineseName;
	}
}